package service;

import org.junit.Test;
import pagination.PageBean;
import pojo.Brand;

import java.util.List;

import static org.junit.Assert.*;

public class BrandServiceTest {
    BrandService brandService = new BrandService();

    @Test
    public void testSelectAllPage() {
        //测试
        PageBean<Brand> pageBean = brandService.selectAllPage(1,5);
        List<Brand> data = pageBean.getData();
        for (Brand datum : data){
            System.out.println(datum);
        }
    }
}